﻿using AutoMapper;
using SkyWalking.ProductService.Entities;
using SkyWalking.ProductService.Services.Dtos;

namespace SkyWalking.ProductService.ObjectMapping;

public class ProductServiceAutoMapperProfile : Profile
{
    public ProductServiceAutoMapperProfile()
    {
        /* Create your AutoMapper object mappings here */
        CreateMap<Products, ProductDto>();
        CreateMap<ProductDto, Products>();
    }
}
